<?php
/*********************
*@param Function Description:動作之後的消息提示.
*@param time: 2011-1-25
*@param Author:abin
*********************/
echo (($this->nsession->flashdata('success')))?'<div  style="text-align: center;" class="notification success closeable"><i class="icon-ok-sign"></i>' . $this->nsession->flashdata('success') . '</div>':'';
echo (($this->nsession->flashdata('error')))?'<div  style="text-align: center;" class="notification error closeable"><i class="icon-remove-sign"></i>' . $this->nsession->flashdata('error') . '</div>':'';
echo (isset($error) && $error)?'<div  style="text-align: center;" class="notification error closeable">'.validation_errors().'</div>':'';
echo (isset($upload_error) && $upload_error)?'<div  style="text-align: center;" class="notification error closeable">'.$upload_error.'</div>':'';